.components-list {
  height: 100%;
  background: #fff;
  display: flex;
  .meun-list {
    width: 40px;
    height: 100%;
    .button {
      width: 100%;
      font-size: 22px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.4s;
      &.active {
        background-color: @primary-color;
        color: #fff;
      }
    }
  }
  .box {
    width: 0;
    height: 100%;
    overflow: hidden;
    border-left: 2px solid #eee;
    transition: all 0.3s;
    .head {
      width: 300px;
      min-width: 300px;
      display: none;
    }
    &.open {
      width: 300px;
      .head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 40px;
        border-bottom: 1px solid #eee;
        padding: 0 10px;
        .close {
          height: 40px;
          width: 30px;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          &:hover {
            color: #000;
          }
        }
      }
      .content {
        padding: 0 10px;
      }
    }
  }
}